package com.G_CN06.commonUtil.Auth;

import com.G_CN06.commonUtil.Enum.AuthTypeEnum;

/**
 * @author hcx
 * @className AuthTypeCheck
 * @description 核对权限类型
 * @date 2023/2/10 9:10
 **/
public class AuthTypeCheck {

    public static Boolean isTeacher1(String auth){
        return AuthTypeEnum.TEACHER1.getType().equals(auth);
    }

    public static Boolean isTeacher2(String auth){
        return AuthTypeEnum.TEACHER2.getType().equals(auth);
    }

    public static Boolean isStudent(String auth){
        return AuthTypeEnum.STUDENT.getType().equals(auth);
    }

}
